<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .main{
           
            border: 2px solid black;
        }
        table {
            border: 2px solid #666666;
            border-collapse: collapse;
            margin: 20px auto;
        }

        th,
        td {
            width: 260px;
            text-align: left;
            border: 2px solid #666666;
            border-collapse: collapse;
        }

        .text {
            width: 400px;
            
        }

        .box {
            width: 1000px;
            height: 350px;
            margin: 10px auto;
        }

        .box1 {
            height: 100px;
            background-color: black;
        }

        .box1 h1 {
            color: aliceblue;
            text-align: center;
            height: 90px;
            line-height: 90px;
            margin-top: 0;
        }
         a{
            text-decoration: none;
            line-height: 30px;
            font-size: 18px;
            color: blue;
        }
       td a { 
            color: rgb(19, 174, 235);
        } 
        .box2,
        .box3,
        .box4 {
            float: left;
            margin-left: 10px;
            padding-top: 10px;
            padding-left: 10px;
            width: 300px;
            height: 300px;
            background-color: rgb(237, 242, 237);
        }
        span {
            font-size: 18px;
        }
    </style>
</head>

<body>
    <div class="main">
    <div class="box1">
        <h1>流行歌曲排行</h1>
    </div>
    <table>
        <tr>
            <th>排名</th>
            <th class="text">歌曲名称</th>
            <th>歌手</th>

        </tr>
        <tr>
            <td>1</td>
            <td><a href="3.1.html">如果可以</a></td>
            <td>韦礼安</td>
        </tr>
        <tr>
            <td>2</td>
            <td><a href="3.2.html">无名的人</a></td>
            <td>毛不易</td>
        </tr>
        <tr>
            <td>3</td>
            <td><a href="3.3.html">圣诞星</a></td>
            <td>周杰伦</td>
        </tr>
    </table>
    <div class="box">
        <div class="box2">
            <a href="3.1.html"><img src="1.jpg" alt="" width="200px" height="200px"></a>
            <p><a href="3.1.html">如果可以</a> <span>韦礼安</span></p>
            <p>唱片公司: 索尼音乐</p>
        </div>
        <div class="box3">
            <a href="3.2.html"><img src="2.jpg" alt="" width="200px" height="200px"></a>
            <p> <a href="3.2.html">无名的人</a>
                <span> 毛不易</span>
            </p>
            <p>唱片公司: 太和麦田(天津)</p>
        </div>
        <div class="box4">
            <a href="3.3.html"><img src="3.jpg" alt="" width="200px" height="200px"></a>
            <p><a href="3.3.html">圣诞星</a>
                <span>周杰伦</span>
            </p>
            <p>唱片公司: 靡之音乐</p>
        </div>
    </div>
</div>
</body>

</html>